home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CDOS10.ARJ / STDFCTS.H < prev    next >
C/C++ Source or Header  |  1992-07-07  |  2KB  |  54 lines

  1. #if !defined (STDFCTS)            /* Prevents multiple declarations errors */
  2. #define STDFCTS
  3.  
  4.  
  5. /*----- Global TypeDefs ---------------------------------------------------*/
  6.  
  7. #include "stdtype.h"
  8.  
  9.  
  10. /*----- Prototype ---------------------------------------------------------*/
  11.  
  12. void far assert                                  /* Validates an assertion */
  13.  
  14. ( bool condition,                          /* If FALSE, prg will be halted */
  15.   char huge *fctname,              /* Name of currently executing function */
  16.   int  errorcode,                                   /* Internal error code */
  17.   char huge *errortext,                         /* User defined error text */
  18.   int  exitcode,                                /* Dos ErrorLevel for exit */
  19.   void (far *exitfct)(void)              /* Function called before exiting */
  20. ) ;
  21.  
  22.  
  23. /*----- Prototype ---------------------------------------------------------*/
  24.  
  25. int far arg_exist                     /* Check for a command line argument */
  26.  
  27. ( char huge *string ) ;                          /* Argument to search for */
  28.  
  29.  
  30. /*----- Prototype ---------------------------------------------------------*/
  31.  
  32. int far arg_iexist   /* Case insensitive check for a command line argument */
  33.  
  34. ( char huge *string ) ;                          /* Argument to search for */
  35.  
  36.  
  37. /*----- Prototype ---------------------------------------------------------*/
  38.  
  39. void huge * far heapalloc                       /* Allocates from far heap */
  40.  
  41. ( dword nbytes ) ;                                  /* Block <nbytes> long */
  42.  
  43.  
  44. /*----- Prototype ---------------------------------------------------------*/
  45.  
  46. void far heapfree                           /* Frees a block from far heap */
  47.  
  48. ( void huge *block ) ;                             /* Ptr to block to free */
  49.  
  50.  
  51. /* ---- End Header File -------------------------------------------------- */
  52.  
  53. #endif
  54.